﻿using System;
using System.Text;
using System.Data;
using System.Collections;
using DataBaseConnection;

namespace DataEntity
{
    /// <summary>
    /// 文章管理
    /// </summary>
    public partial class tab_ArticleBase : IEntity
    {
        public tab_ArticleBase() { }

        public tab_ArticleBase(bool Nullable)
            : base(Nullable) { }

        #region 实体成员

        /// <summary>
        /// [标题颜色] - VarChar(50)
        /// </summary>
        public string art_Acolor = string.Empty;

        /// <summary>
        /// [作者] - VarChar(50)
        /// </summary>
        public string art_Author = string.Empty;

        /// <summary>
        /// [内容] - Text(0)
        /// </summary>
        public string art_Content = string.Empty;

        /// <summary>
        /// [文章来源] - VarChar(255)
        /// </summary>
        public string art_CopyFrom = string.Empty;

        /// <summary>
        /// [缩略图] - VarChar(255)
        /// </summary>
        public string art_DefaultPicUrl = string.Empty;

        /// <summary>
        /// [所属类别] - Int
        /// </summary>
        public int? art_FromClass = 0;

        /// <summary>
        /// [所属编号] - Int
        /// </summary>
        public int? art_FromID = 0;

        /// <summary>
        /// [浏览量] - Int
        /// </summary>
        public int? art_Hits = 0;

        /// <summary>
        /// [自动编号] - Int
        /// </summary>
        [AutoKey]
        public int? art_ID = 0;

        /// <summary>
        /// [是否推荐] - Bit
        /// </summary>
        public bool? art_IsElite = false;

        /// <summary>
        /// [是否内部文章] - Bit
        /// </summary>
        public bool? art_IsInside = false;

        /// <summary>
        /// [是否图文] - Bit
        /// </summary>
        public bool? art_IsMap = false;

        /// <summary>
        /// [发布者编号] - Int
        /// </summary>
        public int? art_IssuerID = 0;

        /// <summary>
        /// [是否视频] - Bit
        /// </summary>
        public bool? art_IsVideo = false;

        /// <summary>
        /// [关键字] - VarChar(50)
        /// </summary>
        public string art_KeyWord = string.Empty;

        /// <summary>
        /// [简介] - VarChar(255)
        /// </summary>
        public string art_Message = string.Empty;

        /// <summary>
        /// [发布日期] - DateTime
        /// </summary>
        public DateTime? art_PubDate = DateTime.Now;

        /// <summary>
        /// [关联索引] - VarChar(50)
        /// </summary>
        public string art_RelatGuid = string.Empty;

        /// <summary>
        /// [分页方式(0.不分页 1.自动 2.手动)] - Int
        /// </summary>
        public int? art_SplitType = 0;

        /// <summary>
        /// [模板地址或外部链接] - VarChar(255)
        /// </summary>
        public string art_TemplateURL = string.Empty;

        /// <summary>
        /// [标题] - VarChar(255)
        /// </summary>
        public string art_Title = string.Empty;

        /// <summary>
        /// [分页字量] - Int
        /// </summary>
        public int? art_WordNumber = 0;

        #endregion
    }
}

